Function: doc-view-djvu->tiff-converter-ddjvu
doc-view-djvu->tiff-converter-ddjvu is a byte-compiled function
defined in doc-view.el.gz.
Signature
(doc-view-djvu->tiff-converter-ddjvu DJVU TIFF PAGE CALLBACK)
Documentation
Convert PAGE of a DJVU file to bitmap(s) asynchronously.
Call CALLBACK with no arguments when done. If PAGE is nil, convert the whole document.
Source Code
;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
(defun doc-view-djvu->tiff-converter-ddjvu (djvu tiff page callback)
"Convert PAGE of a DJVU file to bitmap(s) asynchronously.
Call CALLBACK with no arguments when done.
If PAGE is nil, convert the whole document."
(doc-view-start-process
"djvu->tiff" "ddjvu"
`("-format=tiff"
;; ddjvu only accepts the range 1-999.
,(format "-scale=%d" (round doc-view-resolution))
;; -eachpage was only added after djvulibre-3.5.25.3!
,@(unless page '("-eachpage"))
,@(if page `(,(format "-page=%d" page)))
,djvu
,tiff)
callback))